3.13.27 \(\int \frac {5-x}{\sqrt {2+3 x^2}} \, dx\)

Optimal. Leaf size=33 \[ \frac {5 \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right )}{\sqrt {3}}-\frac {1}{3} \sqrt {3 x^2+2} \]

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 33, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {641, 215} \begin {gather*} \frac {5 \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right )}{\sqrt {3}}-\frac {1}{3} \sqrt {3 x^2+2} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(5 - x)/Sqrt[2 + 3*x^2],x]

[Out]

-Sqrt[2 + 3*x^2]/3 + (5*ArcSinh[Sqrt[3/2]*x])/Sqrt[3]

Rule 215

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Simp[ArcSinh[(Rt[b, 2]*x)/Sqrt[a]]/Rt[b, 2], x] /; FreeQ[{a, b},
 x] && GtQ[a, 0] && PosQ[b]

Rule 641

Int[((d_) + (e_.)*(x_))*((a_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Simp[(e*(a + c*x^2)^(p + 1))/(2*c*(p + 1)),
x] + Dist[d, Int[(a + c*x^2)^p, x], x] /; FreeQ[{a, c, d, e, p}, x] && NeQ[p, -1]

Rubi steps

\begin {align*} \int \frac {5-x}{\sqrt {2+3 x^2}} \, dx &=-\frac {1}{3} \sqrt {2+3 x^2}+5 \int \frac {1}{\sqrt {2+3 x^2}} \, dx\\ &=-\frac {1}{3} \sqrt {2+3 x^2}+\frac {5 \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right )}{\sqrt {3}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 33, normalized size = 1.00 \begin {gather*} \frac {5 \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right )}{\sqrt {3}}-\frac {1}{3} \sqrt {3 x^2+2} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(5 - x)/Sqrt[2 + 3*x^2],x]

[Out]

-1/3*Sqrt[2 + 3*x^2] + (5*ArcSinh[Sqrt[3/2]*x])/Sqrt[3]

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.13, size = 44, normalized size = 1.33 \begin {gather*} -\frac {1}{3} \sqrt {3 x^2+2}-\frac {5 \log \left (\sqrt {3 x^2+2}-\sqrt {3} x\right )}{\sqrt {3}} \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[(5 - x)/Sqrt[2 + 3*x^2],x]

[Out]

-1/3*Sqrt[2 + 3*x^2] - (5*Log[-(Sqrt[3]*x) + Sqrt[2 + 3*x^2]])/Sqrt[3]

________________________________________________________________________________________

fricas [A]  time = 0.42, size = 40, normalized size = 1.21 \begin {gather*} \frac {5}{6} \, \sqrt {3} \log \left (-\sqrt {3} \sqrt {3 \, x^{2} + 2} x - 3 \, x^{2} - 1\right ) - \frac {1}{3} \, \sqrt {3 \, x^{2} + 2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((5-x)/(3*x^2+2)^(1/2),x, algorithm="fricas")

[Out]

5/6*sqrt(3)*log(-sqrt(3)*sqrt(3*x^2 + 2)*x - 3*x^2 - 1) - 1/3*sqrt(3*x^2 + 2)

________________________________________________________________________________________

giac [A]  time = 0.19, size = 34, normalized size = 1.03 \begin {gather*} -\frac {5}{3} \, \sqrt {3} \log \left (-\sqrt {3} x + \sqrt {3 \, x^{2} + 2}\right ) - \frac {1}{3} \, \sqrt {3 \, x^{2} + 2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((5-x)/(3*x^2+2)^(1/2),x, algorithm="giac")

[Out]

-5/3*sqrt(3)*log(-sqrt(3)*x + sqrt(3*x^2 + 2)) - 1/3*sqrt(3*x^2 + 2)

________________________________________________________________________________________

maple [A]  time = 0.05, size = 25, normalized size = 0.76 \begin {gather*} \frac {5 \sqrt {3}\, \arcsinh \left (\frac {\sqrt {6}\, x}{2}\right )}{3}-\frac {\sqrt {3 x^{2}+2}}{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((5-x)/(3*x^2+2)^(1/2),x)

[Out]

5/3*arcsinh(1/2*6^(1/2)*x)*3^(1/2)-1/3*(3*x^2+2)^(1/2)

________________________________________________________________________________________

maxima [A]  time = 1.30, size = 24, normalized size = 0.73 \begin {gather*} \frac {5}{3} \, \sqrt {3} \operatorname {arsinh}\left (\frac {1}{2} \, \sqrt {6} x\right ) - \frac {1}{3} \, \sqrt {3 \, x^{2} + 2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((5-x)/(3*x^2+2)^(1/2),x, algorithm="maxima")

[Out]

5/3*sqrt(3)*arcsinh(1/2*sqrt(6)*x) - 1/3*sqrt(3*x^2 + 2)

________________________________________________________________________________________

mupad [B]  time = 0.03, size = 25, normalized size = 0.76 \begin {gather*} \frac {5\,\sqrt {3}\,\mathrm {asinh}\left (\frac {\sqrt {6}\,x}{2}\right )}{3}-\frac {\sqrt {3}\,\sqrt {x^2+\frac {2}{3}}}{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(x - 5)/(3*x^2 + 2)^(1/2),x)

[Out]

(5*3^(1/2)*asinh((6^(1/2)*x)/2))/3 - (3^(1/2)*(x^2 + 2/3)^(1/2))/3

________________________________________________________________________________________

sympy [A]  time = 0.18, size = 29, normalized size = 0.88 \begin {gather*} - \frac {\sqrt {3 x^{2} + 2}}{3} + \frac {5 \sqrt {3} \operatorname {asinh}{\left (\frac {\sqrt {6} x}{2} \right )}}{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((5-x)/(3*x**2+2)**(1/2),x)

[Out]

-sqrt(3*x**2 + 2)/3 + 5*sqrt(3)*asinh(sqrt(6)*x/2)/3

________________________________________________________________________________________